home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Human Interface Toolbox / WDEFPatch / readme•WDEFPatch next >
Encoding:
Text File  |  2000-09-28  |  647 b   |  12 lines  |  [TEXT/ttxt]

  1.     This snippet shows how you can add a simple extra part to an existing WDEF and be able to 
  2.     do hit testing on the part via FindWindow().  The extra part in this case is on the right 
  3.     side of the title bar, just to the left of where the zoombox would be.  When hit, it 
  4.     inverts the window.
  5.  
  6.     Previous version stomped the variation code bits containing the zoom box data.  Fixed this 
  7.     by adding some code to mask these bits in if we're in 24-bit mode.
  8.  
  9.     Also, previous version assumed a5 would be set-up inside WDEF code, since it called 
  10.     StripAddress which is glue in Think C.  Fixed by adding a5 stuff to patch code.
  11.  
  12.